#include "Exception.h"

#include <iostream>

namespace Logger {

Exception::Exception(int code, QString info) {
	code_ = code;
	info_ = info;
}

void Exception::show() const {
	std::cout << "ERR: " << code_ << " [" << info_.toStdString() << "]\n";
}

} // namespace Logger
